<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

 <script src="jquery.js" type="text/javascript"></script>

        <script type="text/javascript">

            function prevNextNavigation(page) {
                var target = "jarinaservlet/list/javaclass/${archiveId}/" + page + ".html";
                $.get(target, function(data) {
                    $("#containedClasses").html(data);
                });

            }
        </script>

<table width="400px">
    <tr>
        <td>
            <a href="javascript:prevNextNavigation(${list.previousPage})">&lt;&lt;&nbsp;PREVIOUS&nbsp;</a>
        </td>

        <td>
            <a href="javascript:prevNextNavigation(0)">first page</a><br/>
        </td>


        <td>
            <a href="javascript:prevNextNavigation(${list.nextPage})">NEXT&nbsp;&gt;&gt;</a>
        </td>
    </tr>
</table>